package com.seal.dao;

import java.util.List;

import com.seal.comm.utils.Page;
import com.seal.dto.DeptDto;
import com.seal.model.Dept;

public interface IDeptDao {

	void addDept(Dept ca) throws Exception;

	void updateDept(Dept ca) throws Exception;

	void deleteDept(Dept ca) throws Exception;
	
	Dept getDeptById(Long id) throws Exception;

	List<Dept> getAllDept(DeptDto deptDto, Page page)throws Exception;
}
